package com.mit.common.inventory.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;

import com.mit.common.dto.AbstractDTO;
import com.mit.common.purchase.dto.SupplierDTO;

public class MaterialReceivedNoteDTO extends AbstractDTO {

	private String code;
	private WarehouseDTO warehouse;
	private SupplierDTO supplier;
	private Date crtDate;
	private BigDecimal freight;
	private String state;
	private ArrayList<MaterialReceivedNoteItemDTO> itemList;
	

	private Date crtDateFrom;
	private Date crtDateTo;
	private String queryPOCode;
	
	public MaterialReceivedNoteDTO(){
		warehouse = new WarehouseDTO();
		supplier = new SupplierDTO();
		itemList = new ArrayList<MaterialReceivedNoteItemDTO>();
	}
	
	
	public Date getCrtDateFrom() {
		return crtDateFrom;
	}


	public void setCrtDateFrom(Date crtDateFrom) {
		this.crtDateFrom = crtDateFrom;
	}


	public Date getCrtDateTo() {
		return crtDateTo;
	}


	public void setCrtDateTo(Date crtDateTo) {
		this.crtDateTo = crtDateTo;
	}


	public String getQueryPOCode() {
		return queryPOCode;
	}


	public void setQueryPOCode(String queryPOCode) {
		this.queryPOCode = queryPOCode;
	}




	public ArrayList<MaterialReceivedNoteItemDTO> getItemList() {
		return itemList;
	}
	public void setItemList(ArrayList<MaterialReceivedNoteItemDTO> itemList) {
		this.itemList = itemList;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public WarehouseDTO getWarehouse() {
		return warehouse;
	}
	public void setWarehouse(WarehouseDTO warehouse) {
		this.warehouse = warehouse;
	}
	public SupplierDTO getSupplier() {
		return supplier;
	}
	public void setSupplier(SupplierDTO supplier) {
		this.supplier = supplier;
	}
	public Date getCrtDate() {
		return crtDate;
	}
	public void setCrtDate(Date crtDate) {
		this.crtDate = crtDate;
	}
	public BigDecimal getFreight() {
		return freight;
	}
	public void setFreight(BigDecimal freight) {
		this.freight = freight;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	
	
}
